<?php

/**
 * 网站后台路由--会员管理
 */

Route::group(['middleware'=>'adminAuth', 'namespace' => 'Admin', 'prefix' => 'admin/member/'],function() {
	Route::get('datalist', 'MemberController@listData');
	Route::get('datatablelist', 'MemberController@bootstrapTableList');

	Route::get('editview/{id}', 'MemberController@updateDataView');
	Route::post('editsave/{id}', 'MemberController@toUpdateData');

	Route::get('status/{id}/{status?}', 'MemberController@toStatusData');

	Route::delete('destroy', 'MemberController@toDelData');
});

